package com.kgc.est.mapper;

import com.kgc.est.dto.ModelDto;
import com.kgc.est.pojo.Model;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品型号 Mapper 接口
 * </p>
 *
 * @author szq
 * @since 2021-10-19
 */
public interface ModelMapper extends BaseMapper<Model> {

    List<ModelDto> selectModelByClassifyIdAndBrandId(@Param("classifyId")Long classifyId,
                                                     @Param("brandId")Long brandId);

}
